package week3;

/**
 * Created by dell on 2017/3/11.
 */
public class PrintPrintf2{
    public static void main(String[] args){
        int i=1;
        double j=2;

        System.out.print("用print输出i："+i);
        System.out.println("用println输出i："+i);
        System.out.printf("i的值为%d，j的值为%f",i,j);

    }
}